home *** CD-ROM | disk | FTP | other *** search
- CLS,1,25,7,0
- 18,0,15,0,"DAY 7: DREW SOFTWARE HARD DISK MENU SYSTEM"
- MAIN,NULL
- CLS,1,25,3,1
- BOX,1,1,25,80,1,14,1
- 3,0,7,1, "MAIN ──┬─SUBDIR1──┬─SUBDIR11──FILE.S1──FILE.S3 "
- 4,0,7,1, " │ │ "
- 5,0,7,1, " │ └─FILE.S4──FILE.S5──FILE.S6 "
- 6,0,7,1, " ├─SUBDIR2──┬─SUBDIR21──FILE.S6──FILE.S7 "
- 7,0,7,1, " │ └─FILE.S8──FILE.S9 "
- 8,0,7,1, " ├─SUBDIR3──FILE.S10──FILE.S11──FILE.S12──FILE.S13 "
- 9,0,7,1, " │ "
- 10,0,7,1," └─SUBDIR4─┬─SUBDIR41──FILE.S14──FILE.S15──FILE.S16 "
- 11,0,7,1," └─SUBDIR42─┬─FILE.S17──FILE.S18──FILE.S19 "
- 12,0,7,1," │ "
- 13,0,7,1," └─SUBDIR421──FILE.S20──FILE.S21"
- 15,0,18,1,"HARD DISK LAYOUTS CAN BE CONFUSING!!!"
- 15,60,2,1,""
- SPACE,1,2
- 15,0,2,1,"HARD DISK LAYOUTS CAN BE CONFUSING!!!"
- 17,8,3,1,"Not only that, but it can be bothersome to enter the same commands"
- 18,8,3,1,"over and over, especially long ones. For example, if we wanted to"
- 19,8,3,1,"edit the FILE.S21 file, and the EDLIN command was in SUBDIR2,"
- 20,8,3,1,"we would have to enter:"
- 22,0,7,1,"\SUBDIR2\EDLIN \SUBDIR4\SUBDIR42\SUBDIR421\FILE.S21"
- SPACE,1,7
- CLS,1,25,3,2
- BOX,1,1,25,80,1,14,2
- 3,8,0,2,"Drew Software uses a system to enhance computer access by"
- 4,8,0,2,"means of a MENU system. This menu is prepared by means of the"
- 5,8,0,2,"BATCH FILE ability of the Disk Operating System. While the method"
- 6,8,0,2,"we use here works only on MS-DOS type computers, the theory and"
- 7,8,0,2,"principles should work on any computer that allows the use of an"
- 8,8,0,2,"automatic logon sequence and the use of batch files."
- SPACE,2,0
- 10,8,1,2,"The THEORY involved is this: BATCH files have two main advantages:"
- 11,8,1,2," 1- They allow things to be done automatically."
- 12,8,1,2," 2- They can have very short file names."
- 14,8,1,2,"Because of this, we are going to prepare a TEXT file with a listing"
- 15,8,1,2,"of ALL of our computer functions, and matching BATCH FILES to perform"
- 16,8,1,2,"all of the options listed in the text file. For example...."
- SPACE,2,1
- CLS,1,25,3,0
- BOX,1,1,25,80,1,14,0
- 3,0,3,0,"DREW SOFTWARE HARD DISK MENU OPTIONS"
- 5,0,3,0,"WP Word Processing "
- 6,0,3,0,"SP Spreadsheet "
- 7,0,3,0,"DB Database "
- 8,0,3,0,"X Exit to THIS menu"
- 10,0,3,0,"Please enter your choice."
- 12,8,3,0,"C:\>"
- 15,8,2,0,"Shown above is a sample menu screen. When you turn on your computer,"
- 16,8,2,0,"the system would search for the AUTOEXEC.BAT file and upon finding"
- 17,8,2,0,"it, would perform the steps contained therein and wind up at this"
- 18,8,2,0,"menu."
- SPACE,0,2
- 20,8,4,0,"The nice thing here is that you are STILL IN DOS, even though the"
- 21,8,4,0,"menu is showing on the screen! Stick with us... this gets even"
- 22,8,4,0,"more interesting!"
- SPACE,0,4
- CLS,1,25,3,1
- BOX,1,1,25,80,1,14,1
- 3,8,2,1,"But how do we do this amazing thing? The answer is through BATCH"
- 4,8,2,1,"file magic. The execution of a menu is really rather simple once"
- 5,8,2,1,"you look at it. Let's list the menu once again and discuss it:"
- SPACE,1,2
- 6,0,7,1,"WP Word Processing "
- 7,0,7,1,"SP Spreadsheet "
- 8,0,7,1,"DB Database "
- 9,0,7,1,"X Exit to THIS menu"
- SPACE,1,7
- BOX,11,1,25,80,1,14,1
- 12,8,3,1,"The first batch file is AUTOEXEC.BAT. Here's what it does:"
- 14,8,7,1,"ECHO OFF"
- 15,8,7,1,"CLS"
- 16,8,7,1,"PROMPT $P$G"
- 17,8,7,1,"PATH C:\;C:\DOS"
- 18,8,7,1,"X"
- 14,40,3,1,"Turns off screen echo"
- 15,40,3,1,"Clears the screen"
- 16,40,3,1,"Sets the prompt line"
- 17,40,3,1,"Where to look for files"
- 18,40,3,1,"Execute another batch file called X"
- SPACE,1,3
- 20,0,2,1,"Now you wonder what the X.BAT file does..."
- SPACE,1,3
- CLS,12,25,3,1
- BOX,11,1,25,80,1,14,1
- 12,8,3,1,"The X.BAT file is used to return to the main directory from ANYWHERE,"
- 13,8,3,1,"and once at the main directory, display the main menu:"
- 15,8,7,1,"ECHO OFF"
- 16,8,7,1,"CLS"
- 17,8,7,1,"CD C:\"
- 18,8,7,1,"TYPE MENU"
- 15,40,3,1,"Turns off screen echo"
- 16,40,3,1,"Clears the screen"
- 17,40,3,1,"Returns to main directory"
- 18,40,3,1,"Displays a file called MENU"
- SPACE,1,7
- 20,0,2,1,"Uh oh... now what is MENU?"
- SPACE,1,2
- CLS,12,25,3,1
- BOX,11,1,25,80,1,14,1
- 12,8,3,1,"MENU is a simple text file that contains our program listing. It"
- 13,8,3,1,"looks like this:"
- 15,0,7,1,"DREW SOFTWARE HARD DISK MENU OPTIONS"
- 16,0,7,1,"WP Word Processing "
- 17,0,7,1,"SP Spreadsheet "
- 18,0,7,1,"DB Database "
- 19,0,7,1,"X Exit to THIS menu"
- 21,0,7,1,"Please enter your choice."
- SPACE,1,7
- CLS,12,25,3,1
- BOX,11,1,25,80,1,14,1
- 12,8,3,1,"The WP.BAT file, SP.BAT FILE, and DB.BAT files are used to access"
- 13,8,3,1,"those particular functions. The WP.BAT file does this:"
- 15,8,7,1,"ECHO OFF"
- 16,8,7,1,"CLS"
- 17,8,7,1,"CD C:\WORDPROC"
- 18,8,7,1,"WORDPROG"
- 19,8,7,1,"X"
- 15,40,3,1,"Turns off screen echo"
- 16,40,3,1,"Clears the screen"
- 17,40,3,1,"Switches to the WORDPROC subdirectory"
- 18,40,3,1,"Executes the WORDPROG.EXE program"
- 19,40,3,1,"Calls on the X.BAT file (go to menu)"
- SPACE,1,7
- 21,8,7,1,"To make the SP.BAT file or DB.BAT file, only two lines need to be"
- 22,8,7,1,"altered..."
- SPACE,1,7
- 17,8,3,1,"CD C:\SPRDSHET "
- 18,8,3,1,"SPREDPRG "
- 17,40,7,1,"Switches to the SPRDSHET subdirectory"
- 18,40,7,1,"Executes the SPREDPRG.COM program"
- SPACE,1,7
- 21,8,7,1,"And now the database program called from DB.BAT... "
- 22,8,7,1," "
- SPACE,1,7
- 17,8,3,1,"CD C:\DATABASE"
- 18,8,3,1,"DATAPROG"
- 17,40,7,1,"Switches to the DATABASE subdirectory"
- 18,40,7,1,"Executes the DATAPROG.EXE program"
- 21,8,7,1,"That seems easy enough, doesn't it? Nothing but interactive batch"
- 22,8,7,1,"files. Now let's see how they work together."
- SPACE,1,7
- CLS,1,25,3,2
- BOX,1,1,25,80,1,14,2
- 3,0,4,2,"████ ███ ███ █████"
- 4,0,4,2,"█ █ █ █ █ █ █ "
- 5,0,4,2,"████ █ █ █ █ █ "
- 6,0,4,2,"█ █ █ █ █ █ █ "
- 7,0,4,2,"████ ███ ███ █ "
- 9,8,0,2,"We're going to ~pseudo~-boot your computer. NO... DON'T REALLY BOOT"
- 10,8,0,2,"THE SYSTEM!!! To pseudo-boot it, press the space bar and we'll"
- 11,8,0,2,"just pretend you just turned your computer on. We will interrupt"
- 12,8,0,2,"the boot process from time to time and make a comment."
- SPACE,2,0
- CLS,1,25,3,3
- 3,8,0,3,"BOOTING..."
- 20,8,1,3,"The computer is now turning on"
- SPACE,3,1
- 5,8,0,3,"CHECKING MEMORY...."
- 20,8,1,3,"Now it's checking its RAM memory to make sure everything is okay."
- 21,8,1,3,"Unseen to you, the computer will also execute the CONFIG.SYS program."
- SPACE,3,1
- 7,8,0,3,"ECHO OFF"
- 20,8,1,3,"AUTOEXEC.BAT is now being executed. You'll normally only see this"
- 21,8,1,3,"message a split second, because the following CLS erases it! "
- SPACE,1,3
- CLS,1,25,3,3
- 3,0,0,3,"DREW SOFTWARE HARD DISK MENU OPTIONS"
- 4,0,0,3,"WP Word Processing "
- 5,0,0,3,"SP Spreadsheet "
- 6,0,0,3,"DB Database "
- 7,0,0,3,"DO DOS commands "
- 8,0,0,3,"X Exit to THIS menu"
- 9,0,0,3,"Please enter your choice."
- 11,8,0,3,"C:\>"
- 20,8,1,3,"You now have the main menu. Now let's say we're going to enter the"
- 21,8,1,3,"word processing system. Go ahead and enter the correct command:"
- INPUT,2,11,12,EXACT,WP
- 14,8,0,3,"ECHO OFF"
- CLS,1,25,3,3
- BOX,1,1,25,80,1,14,3
- BOX,1,1,3,80,1,14,3
- 2,0,0,3,"BRAND X WORD PROCESSING SYSTEM"
- 4,8,0,3,"L----T----T----T----T----T----T----T----T----T----T----T----T----T----R"
- 23,8,0,3,"f1-help f2-copy f3-block f4-save f5-style f6-print f7-exit"
- 18,8,1,3,"Very good. Now enter a couple of lines for the fun of it. How about:"
- 19,8,1,3," NOW IS THE TIME FOR COMPUTER USERS"
- INPUT,2,6,8,EXACT,NOW IS THE TIME FOR COMPUTER USERS
- 20,8,1,3," TO BEGIN USING COMPUTERS INTELLIGENTLY."
- INPUT,2,7,8,EXACT,TO BEGIN USING COMPUTERS INTELLIGENTLY.
- 18,8,1,3," "
- 19,8,1,3," "
- 20,8,1,3," "
- 18,8,1,3,"VERY GOOD! Now, let's save the text by pressing key f4 and ENTER."
- 19,8,1,3,"When it asks, give the filename as FILEONE.DOC"
- KEY,4,SAVE
- INPUT,2,21,8,EXACT,SAVE
- 22,8,0,3,"Enter the filename: "
- INPUT,2,22,28,EXACT,FILEONE.DOC
- 18,8,1,3," "
- 19,8,1,3," "
- 21,8,1,3," "
- 22,8,1,3," "
- 18,8,1,3,"EXCELLENT! Now let's exit the program by pressing key f7 and ENTER."
- KEY,7,EXIT
- INPUT,2,20,40,EXACT,EXIT
- 20,0,0,3,"ABOUT TO EXIT. PRESS SPACE TO CONTINUE."
- CLS,1,25,3,3
- 3,0,0,3,"DREW SOFTWARE HARD DISK MENU OPTIONS"
- 4,0,0,3,"WP Word Processing "
- 5,0,0,3,"SP Spreadsheet "
- 6,0,0,3,"DB Database "
- 7,0,0,3,"DO DOS commands "
- 8,0,0,3,"X Exit to THIS menu"
- 9,0,0,3,"Please enter your choice."
- 11,8,0,3,"C:\>"
- 15,8,1,3,"There, see how it works? It returns right to the main subdirectory"
- 16,8,1,3,"again! Now you can see how handy it is to have a menu system!!!!"
- SPACE,3,1
- CLS,1,25,3,4
- BOX,1,1,25,80,1,14,4
- 3,0,3,4,"█████ █ █ █████ █████ █ █████ █ █████ █ █ █"
- 4,0,3,4," █ █ █ █ █ █ ▐ █ █ █ █ █ █"
- 5,0,3,4," █ █████ █████ █ █████ █ █ █ █ █"
- 6,0,3,4," █ █ █ █ █ █ █ █ █ "
- 7,0,3,4," █ █ █ █ █ █ █████ █ █ █ █ █"
- 9,8,0,4,"CONGRATULATIONS! You have just completed the Drew Software"
- 10,8,0,4,"Introduction to Computers course. Before we let you go, however,"
- 11,8,0,4,"let's go over the information we have covered."
- SPACE,4,0
- 13,8,0,4,"We're going to ask you a bunch of questions about computers. Let's"
- 14,8,0,4,"see how many you can get right."
- SPACE,4,0
- 16,8,0,4,"Don't expect to get all of them, or even most of them. You are new"
- 17,8,0,4,"to this. The key to really learning all of this is to use this"
- 18,8,0,4,"information on a DAILY basis. Practice using these commands. Go"
- 19,8,0,4,"back over your notes and review the things you have written. Soon,"
- 20,8,0,4,"you will be a proficient computer user!"
- SPACE,4,0
- CLS,1,25,3,0
- BOX,1,1,25,80,1,14,0
- 2,0,4,0,"DREW SOFTWARE REVIEW SECTION"
- 5,8,3,0,"1. What does D.O.S. stand for?"
- INPUT,2,5,40,ANY
- 6,0,2,0,"Disk Operating System"
- SPACE,4,0
- 8,8,3,0,"2. What does C.P.U. stand for?"
- INPUT,2,8,40,ANY
- 9,0,2,0,"Central Processing Unit"
- SPACE,0,4
- 11,8,3,0,"3. The chip that forms the brains of the computer is a CPU. It is"
- 12,8,3,0," also called a M............."
- INPUT,2,12,45,ANY
- 13,0,2,0,"MICROPROCESSOR"
- SPACE,4,0
- 15,8,3,0,"4. Your computer's TEMPORARY memory is called (ROM,RAM)"
- INPUT,2,15,65,ANY
- 16,0,2,0,"RAM-- RANDOM ACCESS MEMORY"
- SPACE,0,4
- 18,8,3,0,"5. A character in your computer is also called a ...."
- INPUT,2,18,65,ANY
- 19,0,2,0,"BYTE"
- SPACE,4,0
- 21,8,3,0,"6. How many characters are in one K ?"
- INPUT,2,21,65,ANY
- 22,0,2,0,"1,024"
- SPACE,0,4
- CLS,1,25,3,0
- BOX,1,1,25,80,1,14,0
- 2,0,4,0,"DREW SOFTWARE REVIEW SECTION"
- 4,8,3,0,"7. A term which means to TURN THE COMPUTER ON or RESTART is: "
- INPUT,2,4,70,ANY
- 5,0,2,0,"BOOT"
- SPACE,4,0
- 7,8,3,0,"8. A device that allows your computer to communicate over telephone"
- 8,8,3,0," lines is called a..."
- INPUT,2,8,35,ANY
- 9,0,2,0,"MODEM"
- SPACE,0,4
- 11,8,3,0,"9. Another name for computer PROGRAMS is..."
- INPUT,2,11,55,ANY
- 12,0,2,0,"SOFTWARE"
- SPACE,4,0
- 14,8,3,0,"10. A filename may be up to how many characters long? "
- INPUT,2,14,65,ANY
- 15,0,2,0,"8"
- SPACE,0,4
- 17,8,3,0,"11. Extensions to a filename may be how many characters long?"
- INPUT,2,17,70,ANY
- 18,0,2,0,"3"
- SPACE,4,0
- 20,8,3,0,"12. Program instructions or manuals are usually followed with an"
- 22,8,3,0," extension of ....."
- INPUT,2,22,35,ANY
- 23,0,2,0,".DOC"
- SPACE,0,4
- CLS,1,25,3,0
- BOX,1,1,25,80,1,14,0
- 2,0,4,0,"DREW SOFTWARE REVIEW SECTION"
- 4,8,3,0,"13. Name the 3 extensions that can be executed directly from DOS:"
- INPUT,2,5,8,ANY
- 5,0,2,0,".BAT .COM and .EXE"
- SPACE,4,0
- 7,8,3,0,"14. A name your hard disk uses to store similar files,"
- 8,8,3,0," programs and data is called a ...."
- INPUT,2,8,50,ANY
- 9,0,2,0,"DIRECTORY or SUBDIRECTORY"
- SPACE,0,4
- 11,8,3,0,"15. The command used to clear the screen is..."
- INPUT,2,11,60,ANY
- 12,0,2,0,"CLS"
- SPACE,4,0
- 14,8,3,0,"16. To see a 'catalog' of FILENAMES you would use..."
- INPUT,2,14,65,ANY
- 15,0,2,0,"DIR"
- SPACE,0,4
- 17,8,3,0,"17. * and ? are called...."
- INPUT,2,17,40,ANY
- 18,0,2,0,"WILDCARDS"
- SPACE,4,0
- 20,8,3,0,"18. To create a file from your keyboard, you would use the command:"
- INPUT,2,21,8,ANY
- 21,0,2,0,"COPY CON:FILENAME or EDLIN"
- SPACE,0,4
- CLS,1,25,3,0
- BOX,1,1,25,80,1,14,0
- 2,0,4,0,"DREW SOFTWARE REVIEW SECTION"
- 4,8,3,0,"19. Types file contents onto the video monitor:"
- INPUT,2,4,57,ANY
- 5,0,2,0,"TYPE"
- SPACE,4,0
- 7,8,3,0,"20. Renames a file:"
- INPUT,2,7,50,ANY
- 8,0,2,0,"REN"
- SPACE,0,4
- 10,8,3,0,"21. Deletes a file from the disk:"
- INPUT,2,10,50,ANY
- 11,0,2,0,"DEL"
- SPACE,4,0
- 13,8,3,0,"22. Types file contents on your printer:"
- INPUT,2,13,50,ANY
- 14,0,2,0,"TYPE FILENAME>PRN or COPY FILENAME PRN"
- SPACE,0,4
- 16,8,3,0,"23. Prepares a floppy diskette for use:"
- INPUT,2,16,50,ANY
- 17,0,2,0,"FORMAT"
- SPACE,4,0
- 19,8,3,0,"24. Creates a BOOTABLE floppy diskette:"
- INPUT,2,19,65,ANY
- 20,0,2,0,"FORMAT A:/S"
- SPACE,0,4
- CLS,1,25,3,0
- BOX,1,1,25,80,1,14,0
- 2,0,4,0,"DREW SOFTWARE REVIEW SECTION"
- 4,8,3,0,"25. Makes an exact copy of a diskette:"
- INPUT,2,4,55,ANY
- 5,0,2,0,"DISKCOPY"
- SPACE,4,0
- 7,8,3,0,"26. Makes a new directory on a hard disk:"
- INPUT,2,7,65,ANY
- 8,0,2,0,"MD"
- SPACE,0,4
- 10,8,3,0,"27. Changes from one directory to another:"
- INPUT,2,10,65,ANY
- 11,0,2,0,"CD"
- SPACE,4,0
- 13,8,3,0,"28. Tells the computer where to look for files:"
- INPUT,2,13,65,ANY
- 14,0,2,0,"PATH"
- SPACE,0,4
- 16,8,3,0,"29. Displays of map of directories:"
- INPUT,2,16,65,ANY
- 17,0,2,0,"TREE"
- SPACE,4,0
- 19,8,3,0,"30. Checks your hard disk to see if it's in good shape."
- INPUT,2,19,65,ANY
- 20,0,2,0,"CHKDSK/F"
- SPACE,0,4
- CLS,1,25,3,0
- BOX,1,1,25,80,1,14,0
- 2,0,4,0,"DREW SOFTWARE REVIEW SECTION"
- 4,8,3,0,"31. The name of the DOS line editor is:"
- INPUT,2,4,50,ANY
- 5,0,2,0,"EDLIN (its actual filename is: EDLIN.COM)"
- SPACE,4,0
- 7,8,3,0,"32. The name of the file that causes the computer to perform steps"
- 8,8,3,0," AUTOMATICALLY at startup:"
- INPUT,2,8,50,ANY
- 9,0,2,0,"AUTOEXEC.BAT"
- SPACE,0,4
- 11,8,3,0,"33. The file that tells the computer about unusual equipment and"
- 12,8,3,0," software configurations:"
- INPUT,2,12,40,ANY
- 13,0,2,0,"CONFIG.SYS"
- SPACE,4,0
- CLS,1,25,3,0
- BOX,1,1,25,80,1,14,0
- 3,0,4,0,"█████ █ █ █████ █ █ █ █ █ █ █████ █ █"
- 4,0,4,0," █ █ █ █ █ ██ █ █ █ █ █ █ █ █ █"
- 5,0,4,0," █ █████ █████ █ █ █ ███ █████ █ █ █ █"
- 6,0,4,0," █ █ █ █ █ █ ██ █ █ █ █ █ █ █"
- 7,0,4,0," █ █ █ █ █ █ █ █ █ █ █████ █████"
- 9,0,3,0,"For taking the Drew Software Instruction Course."
- 12,8,2,0,"If you have any questions, please speak with your consultant."
- 13,8,2,0,"And please, when purchasing a computer, remember that a computer"
- 14,8,2,0,"consultant can save you hours of time, reduce your headaches, and"
- 15,8,2,0,"most likely save you money in the process."
- SPACE,0,2
-